package com.everflourish.yeah100.entity.constant;

/**
 * 作者：Created by liqisi on 2016/6/8.
 * 时间：2016/6/8
 */
public enum SubjectEnum {
    CHINESE(0xFFF4511E, "语文"),
    MATH(0xFF2196F3, "数学"),
    ENGLISH(0xFF26C6DA, "英语"),
    PHYSICS(0xFF9575CD, "物理"),
    CHEMISTRY(0xFFFF9800, "化学"),
    BIOLOGY(0xFF66BB6A, "生物"),
    POLITICS(0xFF66BB6A, "政治"),
    HISTORY(0xFF9575CD, "历史"),
    GEOGRAPHY(0xFFFF9800, "地理"),
    OTHER(0xFF757575, "其他");

    public String subject = null;
    public Integer color = null;

    private SubjectEnum(Integer color, String subject) {
        this.color = color;
        this.subject = subject;
    }

    public String getSubject() {
        return subject;
    }

    public Integer getColor() {
        return color;
    }
}
